package io.litchi.auth;

import io.litchi.auth.Infrastructure.config.AuthConfig;
import io.litchi.starter.jjwt.anno.EnableJjwt;
import io.litchi.starter.oss.anno.EnableLitchiOss;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * description: 启动类
 *
 * @author helang
 * @since 2025-09-10
 */
@EnableJjwt
@EnableLitchiOss
@SpringBootApplication
@EnableDiscoveryClient // 启用服务发现客户端
@ConfigurationPropertiesScan(basePackageClasses = {AuthConfig.class})
public class AuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class, args);
    }

}